package business;

import java.math.BigDecimal;

public class Irpf {
	private BigDecimal base;
	private BigDecimal aliquota;
	private BigDecimal discount;
	private int ano;
	private BigDecimal total;
	
	public Irpf(){
		this.base = new BigDecimal("0");
		this.aliquota = new BigDecimal("0");
		this.discount = new BigDecimal("0");
		this.ano = 2012;
		this.total = new BigDecimal("0");
	}
	
	public String getBase() {
		return base.toString();
	}
	public void setBase(String base) {
		this.base = new BigDecimal(base);
	}
	public int getAno() {
		return ano;
	}
	public void setAno(int ano) {
		this.ano = ano;
	}
	public String getTotal() {
		return total.toString();
	}
	public void setTotal(String total) {
		this.total = new BigDecimal(total);
	}
	public String getAliquota() {
		return aliquota.toString();
	}
	public void setAliquota(String aliquota) {
		this.aliquota = new BigDecimal(aliquota);
	}
	public String getDiscount() {
		return discount.toString();
	}
	public void setDiscount(String discount) {
		this.discount = new BigDecimal(discount);
	}	
}
